package com.zzy.utils.config;

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author kazu
 * @Date 2023/2/2 10:39
 * @Version 1.0
 */
@SuppressWarnings({"all"})
@Configuration
public class OpenApiConfig {
	
	@Bean
	public OpenAPI springOpenAPI() {
		return new OpenAPI().info(new Info()
				.title("SpringDoc API Test")
				.description("SpringDoc Simple Application Test")
				.version("0.0.1"));
	}

}
